package com.br.imediata;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.EditText;

public class MainActivity extends Activity {

	public final static String EXTRA_MESSAGE = "com.example.myfirstapp.MESSAGE";

	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }
    
    /** Called when the user clicks the Send button */
    public void abreClientes(View view) {
        // Do something in response to button
    	Intent intent = new Intent(this, ConsultaClientesActivity.class);
    	startActivity(intent);
    }
    
    public void importaClientes(View view) {
        // Do something in response to button
    	Intent intent = new Intent(this, ImportaClientesActivity.class);
    	startActivity(intent);
    }
    
    public void abreProdutos(View view) {
        // Do something in response to button
    	Intent intent = new Intent(this, ConsultaProdutosActivity.class);
    	startActivity(intent);
    }
    
    public void importaProdutos(View view) {
        // Do something in response to button
    	Intent intent = new Intent(this, ImportaProdutosActivity.class);
    	startActivity(intent);
    }
    
    public void abrePedidos(View view) {
        // Do something in response to button
    	Intent intent = new Intent(this, ConsultaPedidosActivity.class);
    	startActivity(intent);
    }

}
